package com.tao.springcloud.dao;

import com.tao.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName PaymentDao
 * @Author HETAO
 * @Date 2020/5/9 9:56
 */
public interface PaymentDao {
    int createPayment(Payment payment);

    Payment getPaymentById(@Param("id") Long id);
}
